import {BasicColumn,FormSchema} from '@apps/antd-admin/src/components/Table';

export const columns: BasicColumn[] = [
    {
        title: '客户ID',
        dataIndex: 'customId',
        width: 200,
    },
    {
        title: '上牌地',
        dataIndex: 'licensePlateArea',
        width: 200,
    },
    {
        title: '行事里程',
        dataIndex: 'mileage',
        width: 200,
    },
    {
        title: '变速箱',
        dataIndex: 'gearbox',
        width: 200,
    },
    {
        title: '驾驶证号',
        dataIndex: 'driverNo',
        width: 200,
    },
    {
        title: '车架号',
        dataIndex: 'vinNo',
        width: 200,
    },
    {
        title: '发动机号',
        dataIndex: 'EngineNo',
        width: 200,
    },
    {
        title: '创建时间 创建时间',
        dataIndex: 'createTime',
        width: 200,
    },
    {
        title: '更新时间 更新时间',
        dataIndex: 'updateTime',
        width: 200,
    },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
    {
        label: '上牌地',
        field: 'licensePlateArea',
        component: 'Input',
        required: true,
    },
    {
        label: '行事里程',
        field: 'mileage',
        component: 'Input',
        required: true,
    },
    {
        label: '变速箱',
        field: 'gearbox',
        component: 'Input',
        required: true,
    },
    {
        label: '驾驶证号',
        field: 'driverNo',
        component: 'Input',
        required: true,
    },
    {
        label: '车架号',
        field: 'vinNo',
        component: 'Input',
        required: true,
    },
    {
        label: '发动机号',
        field: 'EngineNo',
        component: 'Input',
        required: true,
    }
];
